Errors and helpers topic
Errors and helpers
AviaryException and its status codes, scoped handle release, and the hex helpers used throughout.
Extensions
- AviaryScopes on Aviary Errors and helpers
-
Handles released at the end of a scope, whatever
bodydoes. - HexBytes on Uint8List Errors and helpers
- Hex rendering and comparison for byte strings such as addresses, hashes and transaction ids. Not constant time; do not compare secrets with it.
- HexString on String Errors and helpers
- Decoding of hex and text into bytes.
Enums
- AviaryStatus Errors and helpers
- The stable status codes of the C ABI. Values never change.
Exceptions / Errors
- AviaryException Errors and helpers
- Raised when a native call reports an error.